<div class="projetos view">
<h2><?php  echo __('Projeto');?></h2>
	<div class="actions">
		<?php echo $this->Html->link("Voltar", array('action'=>'index'), array('class'=>'btn'));?>
	</div>
	<dl>
		<dt><?php echo __('Empresa'); ?></dt>
		<dd>
			<?php echo $projeto['Empresa']['nome']?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nome'); ?></dt>
		<dd>
			<?php echo h($projeto['Projeto']['nome']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Descricao'); ?></dt>
		<dd>
			<?php echo h($projeto['Projeto']['descricao']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Link'); ?></dt>
		<dd>
			<?php echo h($projeto['Projeto']['link']); ?>
			&nbsp;
		</dd>
	</dl>
	<div class="related">
		<h3><?php echo __('Related Users');?></h3>
		<?php if (!empty($projeto['User'])):?>
		<table cellpadding = "0" cellspacing = "0" class="table">
		<tr>
			<th><?php echo __('Id Users'); ?></th>
			<th><?php echo __('Nome'); ?></th>
		</tr>
		<?php
			$i = 0;
			foreach ($projeto['User'] as $user): ?>
			<tr>
				<td><?php echo $user['id_users'];?></td>
				<td><?php echo $user['nome'];?></td>
			</tr>
		<?php endforeach; ?>
		</table>
	<?php endif; ?>
	</div>
</div>